using ViScript.Core.Argument;
using ViScript.Core.Arguments;
using ViScript.Core.Exceptions;

namespace ViScript.Core.Arguments
{
    public class UnrecognizedArguments : IArguments
    {
        public static UnrecognizedArguments UNRECOGNIZED_ARGUMENTS = new UnrecognizedArguments();

        private UnrecognizedArguments()
        {
        }

        public bool IsValid
        {
            get { return false; }
        }

        public IArgument[] Value
        {
            get { throw new ViScriptSystemException(); }
        }

        public void Accept(IArgumentVisitor visitor)
        {
        }
    }
}